package com.kapo.egroup.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kapo.egroup.entity.base.project.Project;
import com.kapo.egroup.entity.base.project.UserProjectRecord;
import com.kapo.egroup.mapper.ProjectMapper;

import java.util.List;

/**
 * @Title ProjectService
 * @Description TODO
 * @Author 86159
 * @Date 2023-03-31 17:31
 **/
public interface ProjectService extends IService<Project> {
    List<Project> getMyProjects(Long userId);
    Project getProjectById(Long id);
    void updateProject(Project projectReq);
    List<Project> getProjectByType(Long type);
    List<Project> getProjectByLeaderId(Long leaderId);
    List<Project> getProjectByLessonTaskId(Long lessonTaskId);
    List<UserProjectRecord> getMemberById(Long id);
    void createUserProjectRecord(Long leaderId,Long projectId);
}
